package com.example.attendancesystem_1_8.backendInterface;

import android.util.Log;

import java.io.File;

public class SimilarThread extends Thread {
    private String account_input;
    private String password_input;
    private File faceInfo_input;
    private SimilarThread(String account_input,String password_input,File faceInfo_input){
        this.account_input=account_input;
        this.password_input=password_input;
        this.faceInfo_input=faceInfo_input;
    }
    @Override
    public synchronized void start()
    {
        super.start();
    }

    @Override
    public void run() {
        int result;
        Log.i("tag:","测试");
        try {
            result = Account.getSimilar(account_input,password_input, faceInfo_input);
        } catch (Exception e) {
            e.printStackTrace();
        }
        Log.i("tag:","成功");
        //RegisterActivity.callback(result);
    }
}
